home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3knot.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_KNOT_H = 1;
- include("oops/r3model.js")
-
-
- var R3CLID_KNOT = 115;
-
-
-
-
- // Description: Insert new knot
- // Returns: Boolean, index of the inserted knot, or -1 for error
- // p3: Number, new knot
-
- R3KM_INSERT = 115000;
-
- function mR3KM_INSERT(p3) {
- return DoA(this.r3obj, 115000, p3, R3TID_FLOAT, 0);
- }
-
-
-
-
- R3KA_Knots = 115500;
- function SetR3KA_Knots(value) {
- R3Set(this.r3obj, R3KA_Knots, value, R3TID_FLOAT, R3TNF_ARRAY);
- }
-
- function GetR3KA_Knots() {
- return R3Get(this.r3obj, R3KA_Knots, R3TID_FLOAT, R3TNF_ARRAY);
- }
-
- R3KA_KnotCnt = 115501;
- function SetR3KA_KnotCnt(value) {
- R3Set(this.r3obj, R3KA_KnotCnt, value, R3TID_INTEGER, 0);
- }
-
- function GetR3KA_KnotCnt() {
- return R3Get(this.r3obj, R3KA_KnotCnt, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Knot () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_KNOT, arguments);
- }
- // Methods
- this.INSERT=mR3KM_INSERT;
-
- // Attributes
- this.GetKnots=GetR3KA_Knots;
- this.SetKnots=SetR3KA_Knots;
- this.GetKnotCnt=GetR3KA_KnotCnt;
- this.SetKnotCnt=SetR3KA_KnotCnt;
- }
-
- r3Knot.prototype=new r3Model;
- // r3knot.h_H